package com.dingding.transfer.stamper.dto;

import lombok.Data;

import java.util.List;

/**
 * @author wangxiyuan
 * @description 自定义日志模板信息
 * @createDate 2021/4/8 9:15
 **/
@Data
public class TempleteInfo {
    private List<ReceivedConvInfo> defaultReceivedConvs;

    private List<ReceiverInfo> defaultReceivers;

    private List<FieldInfo> fields;

    private String id;

    private String name;

    private String userName;

    private String userid;

    @Data
    public static class FieldInfo{
        private String fieldName;

        private Long sort;

        private Long type;
    }

    @Data
    public static class ReceiverInfo{
        private String userName;

        private String userid;
    }

    @Data
    public static class ReceivedConvInfo{
        private String conversationId;

        private String title;
    }
}
